﻿<UserControl x:Class="EPE.WPF.UCPrinter"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="380" d:DesignWidth="450">
    <Grid>
        <Border Grid.Row="0"  Style="{StaticResource MainBorderStyle}">
            <GroupBox Header="请选择打印机" Style="{StaticResource GroupBoxStyle}" Margin="5">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="250"></RowDefinition>
                        <RowDefinition Height="30"></RowDefinition>
                    </Grid.RowDefinitions>
                    <ListBox Grid.Row="0" Height="240" Width="380" Name="lstPrinter" SelectionChanged="lstPrinter_SelectionChanged" />
                    <StackPanel Grid.Row="1" Orientation="Horizontal">

                        <Label Content="当前默认打印机:"></Label>
                        <Label Name="lblPrintName"></Label>
                    </StackPanel>
                </Grid>


            </GroupBox>
        </Border>
    </Grid>
</UserControl>
